gh-152674: Avoid quadratic behavior in xml.etree.ElementPath index predicates - #152676
Conversation
Co-Authored-By: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
serhiy-storchaka
left a comment
There was a problem hiding this comment.
LGTM. 👍
I wonder if we need to save the cache in context, like parent_map.
We can share this one across the context, it's specific to the query ( |
|
Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
|
Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
|
Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15. |
|
GH-154810 is a backport of this pull request to the 3.14 branch. |
|
GH-154811 is a backport of this pull request to the 3.13 branch. |
|
GH-154812 is a backport of this pull request to the 3.15 branch. |
|
Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
|
Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
|
Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
|
GH-154813 is a backport of this pull request to the 3.11 branch. |
|
GH-154814 is a backport of this pull request to the 3.10 branch. |
|
GH-154815 is a backport of this pull request to the 3.12 branch. |
…ndex predicates (GH-152676) (#154815) gh-152674: Avoid quadratic behavior in xml.etree.ElementPath index predicates (GH-152676) (cherry picked from commit 2ffab08) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Alexis <alexis.challande@trailofbits.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.